from django.urls import path
from . import views

app_name = 'main'

urlpatterns = [
    path('', views.homepage, name='homepage'),
    path('bookstore/', views.bookstore, name='bookstore'),
    path('ranking/', views.ranking, name='ranking'),
    path('detail/<int:num>/', views.detail, name='detail'),
    path('bookstore-detail-channel/<int:channel_id>/', views.bookstoredetailchannel, name='bookstoredetailchannel'),
    path('bookstore-detail-category/<int:category_id>/', views.bookstoredetailcategory, name='bookstoredetailcategory'),
    path('bookstore-detail-wordcount/<int:wordcount_id>/', views.bookstoredetailwordcount, name='bookstoredetailwordcpunt'),
    path('detail/<int:book_id>/chapter/<int:chapter_id>/', views.chapter_detail, name='chapter_detail'),
]
